
public class Timer {
int hour,minute,second;
void setTime(int h,int m,int s) {
	int huor = h;
	minute=m;
	second=s;
}
void showTime() {
	System.out.println("现在时间:"+hour+"点"+minute+"分"+second+"秒");
	
}
public static void main(String[] args) {
	Timer t1=new Timer();
	t1.setTime(10,11,12);
	t1.showTime();
	
}
}
